;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guixrus packages org-xyz)
  #:use-module (guix build-system python)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (gnu packages python)
  #:use-module (gnu packages time)
  #:use-module (gnu packages python-xyz))

(define-public ical2orgpy
  (package
    (name "ical2orgpy")
    (version "0.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "ical2orgpy" version))
        (sha256
          (base32 "0dxsqp3mjibb9nr0d6344b7m79m2a4zy6ng389g61s4jn0irnxs3"))))
    (build-system python-build-system)
    (native-inputs
      (list python-pbr))
    (propagated-inputs
      (list python-click
            python-future
            python-icalendar
            python-pytz
            python-tzlocal))
    (home-page "https://github.com/asoroa/ical2org.py")
    (synopsis "Converting ICAL file into org-mode format.")
    (description "Converting ICAL file into org-mode format.")
    (license license:gpl3+)))

